-- GENERATED SPELL FOR [Scarab] --


function spell0_7269(pUnit, Event) --@Plague Cloud,n/a--
pUnit:FullCastSpellOnTarget(3256,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7269', 2000, 1)
end

function Sorts_7269(pUnit, Event)
local choix_sorts_7269 = math.random(0, 0)
if choix_sorts_7269 == 0 then
pUnit:RegisterEvent('spell0_7269', 1, 1)
end
end

function mob7269_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7269', math.random(1500, 3000), 1)
end

function mob7269_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7269_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7269_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7269, 1, 'mob7269_Action')
RegisterUnitEvent(7269, 2, 'mob7269_Leave')
RegisterUnitEvent(7269, 3, 'mob7269_Kill')
RegisterUnitEvent(7269, 4, 'mob7269_Die')
